//
//  CZEmoticonLayout.swift
//  表情键盘
//
//  Created by Jack.Lin on 16/7/19.
//  Copyright © 2016年 Jack.Lin. All rights reserved.
//

import UIKit

class CZEmoticonLayout: UICollectionViewFlowLayout {

    override func prepare() {
        super.prepare()
        
        guard let collectionView = collectionView else {
            return
        }
        itemSize = collectionView.bounds.size
        
        scrollDirection = .horizontal
    }
    
}
